#include "QuadSolver.h"
namespace Solver
{
	BaseVar::BaseVar(const VarType_E varType):type(varType), value(0)
	{

	}

	BaseVar::~BaseVar()
	{

	}

	LineExpress::LineExpress():constant(0), type(ExpressType_E::Nothing_E)
	{

	}
	
	LineExpress::~LineExpress()
	{

	}

	void LineExpress::mul(OSQPFloat v)
	{
		constant *= v;
		for (auto &it : mapPa)
	}

	void LineExpress::eraseZero()
	{

	}

	bool LineExpress::isZero()
	{

	}

	QuadExpress::QuadExpress(std::shared_ptr<LineExpress> line)
	{

	}

	QuadExpress::~QuadExpress()
	{

	}

	void QuadExpress::mul(OSQPFloat v)
	{

	}
	
	void QuadExpress::eraseZero()
	{

	}
		
	bool QuadExpress::isZero()
	{

	}
}